package top.stmo;


import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;

/**
 *              模拟 HttpServlet,继承MyHttpServlet后的实现
 */
@WebServlet("/test3")
public class ServletTest3 extends MyHttpServlet {


    @Override
    protected void doGet(ServletRequest servletRequest, ServletResponse servletResponse) {
        System.out.println("doGet");
    }

    @Override
    protected void doPost(ServletRequest servletRequest, HttpServletRequest httpServletRequest) {
        System.out.println("doPost");
    }
}
